package frame.pojo;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * FileName: Configuration
 * Author:   xuan zongjun
 * Date:     2020/11/6 11:56
 * Description:
 */


public class Configuration {
    //数据源
    private DataSource dataSource;

    //map集合： key:statementId value:MapperStatement
    private Map<String,MapperStatement> mappedStatementMap = new HashMap<String,MapperStatement>(  );

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public Map<String, MapperStatement> getMappedStatementMap() {
        return mappedStatementMap;
    }

    public void setMappedStatementMap(Map<String, MapperStatement> mappedStatementMap) {
        this.mappedStatementMap = mappedStatementMap;
    }
}
